-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes for DeepDoubleX #39184
Fixes for DeepDoubleX #39184
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39184/31780
|
A new Pull Request was created by @kpedro88 (Kevin Pedro) for master. It involves the following packages:
@jpata, @cmsbuild, @mandrenguyen, @clacaputo can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e63739/27068/summary.html Comparison SummarySummary:
|
@kpedro88 |
@cms-sw/btv-pog-l2 @emilbols just to check you are aware and agree. |
@jpata +1 from BTV |
+reconstruction |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1
|
PR description:
This PR cleans up a few issues from #30016:
edm::Ptr
that caused an exception when running onpackedCandidate
:PFJet constituent is not of PFCandidate type
(reported on Mattermost)pat::Jet
in the DeepDoubleX code was not handled properly: when running onreco::Jet
, thedynamic_cast
topat::Jet
would fail, creating anullptr
, which would then be passed tocommonCandidateToFeatures()
/getDRSubjetFeatures()
for anotherdynamic_cast
, leading to a segfault.pat::Jet
should be reflected injetTools
as it is for other discriminators. I added a simple check; not sure if it's optimal or comprehensive in this case.PR validation:
Ran jetToolbox several times and observed correct behavior (either runs to completion or throws
"Input is not a pat::Jet."
when expected), rather than unexpected exceptions or segfaults.If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:
This PR will be backported to 10_6_X for those running on UL samples. Other backports can be made upon request.
attn: @andrzejnovak